//
//  HomePageViewController.swift
//  Cp birthday
//
//  Created by ywy on 2018/3/8.
//  Copyright © 2018年 Wely. All rights reserved.
//

import UIKit

class HomePageViewController: ZJBaseViewController,UITableViewDelegate,UITableViewDataSource{

    @IBOutlet weak var dateLabel: UILabel!
    @IBOutlet weak var baseTableView: UITableView!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        let currentTime = Date()
        // 创建一个日期格式器
        let dformatter = DateFormatter()
        dformatter.dateFormat = "YYYY-MM-dd"
        dateLabel.text = "The current date:" + dformatter.string(from: currentTime)
        
    }
    
    func numberOfSections(in tableView: UITableView) -> Int {
    return 1
    }
    func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        return 1
    }
    func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
